package leo.weixin.entity.menu;

import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public abstract class AbstractButton {
    private String type ;
    private String name ;
    public AbstractButton(String name){
        setName(name);
    }
    public AbstractButton(){
    }
    /**
     * 微信提供的已知button类型
     */
    public interface ButtonTypeEnum {
        String CLICK = "click";
        String VIEW = "view";

    }
}
